package com.javayz.fileuploadanddownload;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

@SpringBootApplication


public class FileuploadanddownloadApplication  extends SpringBootServletInitializer {
    private static final Logger logger = LoggerFactory.getLogger(FileuploadanddownloadApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(FileuploadanddownloadApplication.class, args);
        System.out.println("启动成功");
    }

//    @Override
//    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
//        return builder.sources(FileuploadanddownloadApplication.class);
//    }
}
